<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>北化论坛 - 登录</title>
    <link rel="stylesheet" href="style2.css"> <!-- 使用 style2.css -->
</head>
<body>
    <script src="method/login-init.js"></script>
    <div class="container">
        <div class="login-box"> <!-- 登录框 -->
            <h1>北化论坛</h1>
            <h2>用户登录</h2>
            <form id="loginForm">
                <div class="input-group">
                    <input id="login-username" type="text" placeholder="用户名" required>
                </div>
                <div class="input-group">
                    <input id="login-password" type="password" placeholder="密码" required>
                </div>
                <button type="submit" class="btn">登录</button>
            </form>
            <div class="toggle">
                <span>没有账号？<a href="register.html">注册</a></span>
            </div>
        </div>
    </div>

    <script src="method/login.js"> </script>
</body>
</html>
